<?php
/**
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 * 
 * @author Eddie Drapkin <eddie@frameweld.com>
 * @license http://www.gnu.org/licenses/lgpl-3.0.txt
 * @package Solphr
 * @version 0.1-pre
 * @subpackage Query
 */

/**
 * Class is used for a (set of) search term(s) that all have similar properties
 * with regards to things like fuzziness and being optional. 
 * 
 * @author Eddie Drapkin <eddie@frameweld.com>
 * @license http://www.gnu.org/licenses/lgpl-3.0.txt
 * @package Solphr
 * @subpackage Query
 */
class Solphr_Query_Raw implements Solphr_Query_Interface {
	private $string;
	/**
	 * Class constructor.
	 * @param  string $string The raw query.
	 */
	public function __construct($string) {
		$this->string = $string;
	}
	
	/**
	 * @see Solphr/Query/Solphr_Query#__toString()
	 */
	public function __toString() {
		return $this->string;
	}
}